package com.twohand.admin.Entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("店铺表")
@TableName("shop")
@Data
public class Shop extends BaseEntity {
    @ApiModelProperty(name = "店名")
    String shopName;
    @ApiModelProperty(name = "平台类型，1美团，2饿了么，3京东秒送")
    Integer platform;
    @ApiModelProperty(name = "所属销售")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    Integer sid;
    @ApiModelProperty(name = "id")
    Integer id;
    @TableField(exist = false)
    String salesName;
    @TableField(exist = false)
    Integer orderCount=0;
    @TableField(exist = false)
    Float orderMoney=0F;
    @TableField(exist = false)
    Integer waitPayCount=0;
    Integer isNotGenUrl;
    Date modifyTime;

    Integer priority;

    String relevancy;
}
